#include <stdio.h>

int main(){
    int a[2][2][2]={1,4,9,16,25,36,49,81};
    int (*p)[2][2]=a;
    printf("%d\n",a[1][1][1]);
    printf("%d\n",*(*(*(a+1)+1)+1));  
    printf("%d\n",*(*(*(p+1)+1)+1));  
    printf("%d\n",p[1][1][1]);
}